Upgrade to mockito 4 and handle Mockito deprecations#8427
Upgrade to mockito 4 and handle Mockito deprecations#8427DaanHoogland merged 1 commit intoapache:mainfrom
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8427 +/- ##
============================================
- Coverage 30.59% 28.99% -1.61%
+ Complexity 33772 31803 -1969
============================================
Files 5353 5353
Lines 375900 375900
Branches 54629 54629
============================================
- Hits 115002 108980 -6022
- Misses 245710 252316 +6606
+ Partials 15188 14604 -584
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
DaanHoogland
left a comment
There was a problem hiding this comment.
hard work @vishesh92 , looks good
yadvr
left a comment
There was a problem hiding this comment.
LGTM but needs testing/further review
3a835c3 to
36a9d0c
Compare
|
@blueorangutan package |
|
@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
36a9d0c to
a9e63d9
Compare
|
Packaging result [SF]: ✖️ el7 ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 8537 |
|
@vishesh92 , i think we have a package dependency error |
in utils |
|
@DaanHoogland It's because of some new tests which used the deprecated runners module. Let me fix this. |
a9e63d9 to
51a67a0
Compare
|
@DaanHoogland Tests passed after fixing the import. |
Description
This PR upgrades mockito from v3 to v4 and remove deprecated methods.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?